package com.spic.business.vehicle.service;

import java.util.List;
import com.spic.business.vehicle.domain.VehicleManagement;

/**
 * 车辆管理Service接口
 * 
 * @author spic
 * @date 2022-07-17
 */
public interface IVehicleManagementService 
{
    /**
     * 查询车辆管理
     * 
     * @param clientid 车辆管理主键
     * @return 车辆管理
     */
    public VehicleManagement selectVehicleManagementByClientid(Long clientid);

    /**
     * 查询车辆管理列表
     * 
     * @param vehicleManagement 车辆管理
     * @return 车辆管理集合
     */
    public List<VehicleManagement> selectVehicleManagementList(VehicleManagement vehicleManagement);

    /**
     * 新增车辆管理
     * 
     * @param vehicleManagement 车辆管理
     * @return 结果
     */
    public int insertVehicleManagement(VehicleManagement vehicleManagement);

    /**
     * 修改车辆管理
     * 
     * @param vehicleManagement 车辆管理
     * @return 结果
     */
    public int updateVehicleManagement(VehicleManagement vehicleManagement);

    /**
     * 批量删除车辆管理
     * 
     * @param clientids 需要删除的车辆管理主键集合
     * @return 结果
     */
    public int deleteVehicleManagementByClientids(Long[] clientids);

    /**
     * 删除车辆管理信息
     * 
     * @param clientid 车辆管理主键
     * @return 结果
     */
    public int deleteVehicleManagementByClientid(Long clientid);

    String importData(List<VehicleManagement> list);

    int alarmCar(VehicleManagement vehicle);

    int delAlarmCar(Long[] clientids);

    String carsCharge(VehicleManagement vehicleManagement);

    void filterDirtyData();
}
